stencil_second_diff_5 Function

public pure function stencil_second_diff_5(dt, x) result(rst)

Utilizes a 5-point stencil to estimate the second derivative of a data set.

See Also

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: dt

The time step between data points.

real(kind=real64), intent(in), dimension(:) :: x

An N-element array containing the data whose derivative is to be estimated.

Return Value real(kind=real64), allocatable, dimension(:)

An N-element array containing the derivative estimate.